.social-media {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.social-icon {
  display: block;
  margin-bottom: 20px;
}

.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}
.whatsapp-button {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: pulse 1.5s infinite;
    z-index: 1001;
}

.whatsapp-button img {
    width: 32px;
    height: auto;
}

.whatsapp-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    text-align: center;
}

.whatsapp-popup .subtext {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #333;
}

.whatsapp-contact-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.whatsapp-contact-btn:hover {
    background-color: #1ebe5d;
}

#whatsappOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.close-btn:hover {
    color: #1ebe5d;
}
/* WhatsApp button */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(60, 255, 0, 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(62, 181, 8, 0.986);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(68, 176, 5, 0.5);
    }
}

/* TABLETY – mniejsze ikony i przesunięcie 
@media (max-width: 768px) {
  .social-media {
    right: 70px;
  }

  .social-icon img {
    width: 36px;
    height: 36px;
  }
}

/* TELEFONY – jeszcze mniejsze ikony i większe przesunięcie 
@media (max-width: 480px) {
  .social-media {
    right: 90px;
  }

  .social-icon img {
    width: 34px;
    height: 34px;
  }
}*/
